package com.example.xpagedemoproject;

import android.os.Bundle;

import com.example.xpagedemoproject.fragment.MainFragment;
import com.xuexiang.xpage.base.XPageActivity;
import com.xuexiang.xpage.core.PageOption;

public class MainActivity extends XPageActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        PageOption.to(MainFragment.class).open(this);
    }
}